<template>
	<view class="biyanguanli">
		<headertop title="哮喘管理" str="orderlist" str1="oridei" :back1="back1"></headertop>
		<view class="biyanguanliback">
		</view>
		<view class="" :style="{'margin-top':statusBarHeight+'px','width':'100%','height':barHeight+'px'}">
		</view>
		<view class="rili">
			<image :src="typestr!='week'? _static('/images/Union@2x.png'):_static('/images/guanbiimg.png')"
				class="riliback" mode="widthFix"></image>
			<week-fold-calendar @qiehuan="qiehuan" @openfun="openfun" @change="change" activeBgColor="#2AB4F5"
				:dots="dots" :custom-style="customStyle" active-color="#fff"></week-fold-calendar>
		</view>
		<view class="myrecord">
			<view class="centerbox">
				<view class="titleline">
					<image :src="_static('/images/Group 11682@2x.png')" class="xbq" mode=""></image>
					<span>肺功能检测</span>
				</view>
				<view class="sdlrbox" @click="showfun()">
					<image :src="_static('/images/Frame@2x(30).png')" mode=""></image>
					<span>手动录入</span>
				</view>
				<view class="luruboxss">
					<view class="msgnone" v-if="false">
						<image :src="_static('/images/Group 10250@2x.png')" mode=""></image>
						<view class="text">
							暂无鼻炎管理数据哦~快去录入吧
						</view>
					</view>
					<view class="luruboxss1" v-for="(item,index) in zzarr.disease_log" :key="item.id">
						<view class="xuhao">
							{{index+1}}
						</view>
						<image :src="_static('/images/Frame@2x(31).png')" @click="remove1(item.id)" class="shanchuicon"
							mode="">
						</image>
						<view class="textts">
							<view class="t1">
								时间：{{timestampToHoursMinutes(item.measure_time*1000)}}
								<span style="margin-left: 42rpx;">手动录入</span>
							</view>
							<view class="linet">
								<view class="t1">
									PEF：
									<span style="color:#1D2129 ;">{{item['pef']}}</span>
								</view>
								<view class="t1">
									FVC：
									<span style="color:#1D2129 ;">{{item['fvc']}}</span>
								</view>
								<view class="t1">
									FEV1：
									<span style="color:#1D2129 ;">{{item['fev1']}}</span>
								</view>
							</view>
						</view>
					</view>
					<view class="numboxss">
						<view class="centerneirong">
							<view class="lheht">
								<view class="shuzhibox">
									<view class="num">
										{{zzarr['disease_date']['pef_best']||'--'}}
									</view>
									<view class="szbox">
										PEF最佳值
									</view>
								</view>
								<view class="shuzhibox" style="margin-top: 40rpx;">
									<view class="num" style="color: #1D2129;">
										{{zzarr['disease_date']['fvc_best']||'--'}}
									</view>
									<view class="szbox">
										FVC最佳值
									</view>
								</view>
							</view>
							<view class="lheht">
								<view class="shuzhibox">
									<view class="num">
										{{zzarr['disease_date']['pef_min']||'--'}}
									</view>
									<view class="szbox">
										PEF最低值
									</view>
								</view>
								<view class="shuzhibox" style="margin-top: 40rpx;">
									<view class="num" style="color: #1D2129;">
										{{zzarr['disease_date']['fev1_best']||'--'}}
									</view>
									<view class="szbox">
										FEV1最佳值
									</view>
								</view>
							</view>
							<view class="lheht">
								<view class="shuzhibox">
									<view class="num" style="#F53F3F">
										{{zzarr['disease_date']['dvr']||'--'}}%
									</view>
									<view class="szbox">
										日渐变异率
									</view>
								</view>
								<view class="shuzhibox" style="margin-top: 40rpx;">
									<view class="num" style="color: #1D2129;">
										{{zzarr['disease_date']['pef_expect']||'--'}}
									</view>
									<view class="szbox">
										PEF预计值
									</view>
								</view>
							</view>
						</view>
					</view>
					<view class="kzlh">
						<view class="lhtext" v-if="zzarr['disease_date']['result_msg']">
							<image :src="_static('/images/Frame@2x(36).png')" class="dh"
								v-if="zzarr['disease_date']['result']==1" mode=""></image>
							<image :src="_static('/images/微信图片_20250705163415.png')" class="dh"
								v-if="zzarr['disease_date']['result']==2" mode=""></image>
							<image :src="_static('/images/微信图片_20250705163340.png')" class="dh"
								v-if="zzarr['disease_date']['result']==3" mode=""></image>
							<span
								:style="{color:colorfun(zzarr['disease_date']['result'])}">{{zzarr['disease_date']['result_text']||'--'}}</span>
						</view>
						<view class="lvtt" :style="{color:colorfun(zzarr['disease_date']['result'])}"
							v-if="zzarr['disease_date']['result_msg']">
							{{zzarr['disease_date']['result_msg']||'--'}}
						</view>
					</view>

				</view>
			</view>
		</view>
		<view class="myzhengzhuang">
			<view class="centerbox">
				<view class="titleline">
					<image :src="_static('/images/Group 11682@2x.png')" class="xbq" mode=""></image>
					<span>我的症状</span>
				</view>
				<view class="zhzhuanggex">
					<view class="text">
						控制良好
					</view>
					<view class="zhengzhuangboxss">
						<view @click="xz('symptom_lh','')"
							:class="zzarr['disease_date']['symptom_lh'].length?'bbo':'bbo1'">
							暂无
						</view>
						<view @click="xz('symptom_lh',item)"
							:class="zhuanhuabool(zzarr['disease_date']['symptom_lh'],item)?'bbo1':'bbo'"
							v-for="(item,index) in zzarr['disease']['symptom_lh']" :key="index">
							{{item}}
						</view>
					</view>
				</view>
				<view class="zhzhuanggex">
					<view class="text">
						加重先兆
					</view>
					<view class="zhengzhuangboxss">
						<view class="bbo" @click="xz('symptom_jz','')"
							:class="zzarr['disease_date']['symptom_jz'].length?'bbo':'bbo1'">
							暂无
						</view>
						<view class="bbo" @click="xz('symptom_jz',item)"
							:class="zhuanhuabool(zzarr['disease_date']['symptom_jz'],item)?'bbo1':'bbo'"
							v-for="(item,index) in zzarr['disease']['symptom_jz']" :key="index">
							{{item}}
						</view>
					</view>
				</view>
				<view class="zhzhuanggex">
					<view class="text">
						急性发作
					</view>
					<view class="zhengzhuangboxss">
						<view class="bbo" @click="xz('symptom_fz','')"
							:class="zzarr['disease_date']['symptom_fz'].length?'bbo':'bbo1'">
							暂无
						</view>
						<view class="bbo" @click="xz('symptom_fz',item)"
							:class="zhuanhuabool(zzarr['disease_date']['symptom_fz'],item)?'bbo1':'bbo'"
							v-for="(item,index) in zzarr['disease']['symptom_fz']" :key="index">
							{{item}}
						</view>
					</view>
				</view>
			</view>
		</view>
		<view style="height: 68rpx;">

		</view>
		<up-popup :show="show" mode="bottom">
			<view class="popucenter">
				<view class="lurubox">
					<view class="headerbox">
						<view class="qx" @click="show=false">
							取消
						</view>
						<view class="tt">
							手动录入
						</view>
						<view class="qd" @click="qued">
							确定
						</view>
					</view>
					<view class="cxbox">
						<view class="cxibox">
							测量时间
						</view>
						<view class="preawbox" v-if="show">
							<picker-view :value="vall" immediate-change="true" :indicator-style="indicatorStyle"
								@change="bindChange" class="picker-view">
								<picker-view-column>
									<view class="item" v-for="(item,index) in years" :key="index">{{item}}时</view>
								</picker-view-column>
								<picker-view-column>
									<view class="item" v-for="(item,index) in months" :key="index">{{item}}分</view>
								</picker-view-column>
							</picker-view>
						</view>
					</view>


					<view class="slbox" style="margin-bottom: 96rpx;">
						<view class="line">
							<view style="display: flex;align-items: center;">
								<span style="color: #F53F3F;">*</span>
								<span>PEF：</span>
							</view>

							<view class="rightbpxx">
								<input cursor-spacing="100" type="digit" adjust-position="true"
									v-model="formData['pef']" placeholder="请输入PEF测试值" />
								<span style="color: #1D2129;font-size: 24rpx;">L/min</span>
							</view>
						</view>
						<view class="line">
							<view style="display: flex;align-items: center;">
								<span style="color: #F53F3F;">*</span>
								<span>FVC：</span>
							</view>
							<view class="rightbpxx">
								<input cursor-spacing="100" type="digit" adjust-position="true"
									v-model="formData['fvc']" placeholder="请输入FVC测试值" />
								<span style="color: #1D2129;font-size: 24rpx;">L</span>
							</view>
						</view>
						<view class="line">
							<view style="display: flex;align-items: center;">
								<span style="color: #F53F3F;">*</span>
								<span>FEV1：</span>
							</view>
							<view class="rightbpxx">
								<input type="digit" cursor-spacing="100" adjust-position="true"
									v-model="formData['fev1']" placeholder="请输入FEV1测试值" />
								<span style="color: #1D2129;font-size: 24rpx;">L</span>
							</view>
						</view>
					</view>
				</view>
			</view>
		</up-popup>
		<userlogin @updata="init" ref="denglu"></userlogin>
	</view>
</template>


<script setup>
	import userlogin from '@/components/getuser/getuser.vue'
	import WeekFoldCalendar from '@/components/week-fold-calendar1/week-fold-calendar.vue';
	import {
		onPageScroll,
		onLoad,
		onShow,
		onReachBottom
	} from "@dcloudio/uni-app";
	import {
		ref,
		reactive,
		onMounted
	} from 'vue'
	import {
		setToken,
		getToken,
	} from '@/ulm/utils/auth';
	import headertop from '@/components/header.vue'
	import {
		_static
	} from '@/ulm/utils/url.js'
	const show = ref(false)
	const denglu = ref(null)
	const userobj = ref({})
	const formData = reactive({
		measure_time: '',
		pef: '',
		fvc: '',
		fev1: ''
	})
	const indicatorStyle = ref(`height: 40px`)
	const months = ref([])
	const years = ref([])
	const dateobj = reactive({
		start_date: '',
		end_date: ''
	})
	const zzarr = ref({})
	const formattedDate = ref('')
	const measure_time = ref('')
	import ulm, {
		$api
	} from '@/ulm';
	const now = new Date();
	// 获取当前小时（24小时制）
	const hours = now.getHours() - 1;
	// 获取当前分钟
	const minutes = now.getMinutes();
	for (let i = 1; i <= 24; i++) {
		years.value.push(i)
	}
	for (let i = 0; i <= 59; i++) {
		months.value.push(i)
	}
	const vall = ref([0, 0])
	const dots = ref([{
		date: '2025-07-01',
		value: 1
	}])

	const customStyle = ref({
		fontSize: '28rpx',
		color: '#1D2129',
		fontWeight: 'normal',
		background: '#F7F8FA',
	})
	const statusBarHeight = ref('')
	const barHeight = ref('')
	const back1 = ref('')
	const typestr = ref('')
	onLoad(() => {
		// 获取当前日期和时间
		const now = new Date();
		// 获取年月日
		const year = now.getFullYear();
		const month = now.getMonth() + 1; // 月份从0开始，需要+1
		const day = now.getDate();
		formattedDate.value = `${year}-${month.toString().padStart(2, '0')}-${day.toString().padStart(2, '0')}`
		dateobj['start_date'] = `${year}-${month}-01`
		dateobj['end_date'] = `${year}-${month}-${getDaysInMonth(year,month)}`
		init()
	})
	onShow(() => {
		userinfoinit()
	})

	function showfun() {
		if (!getToken()) {
			denglu.value.DengLu()
			return
		}
		if (!userobj.value) {
			uni.showModal({
				title: '提示', // 标题（可选）
				content: '请先补全用户资料', // 内容（可选）
				confirmText: '确定', // 确认按钮文字（可选，默认“确定”）
				success: (res) => {
					if (res.confirm) {
						// 执行确定后的逻辑
						uni.navigateTo({
							url: '/sub_index/index/bianjigerenziliao'
						})
					}
				},
				fail: (err) => {
					console.error('弹窗调用失败', err);
				}
			});

			return
		}
		vall.value = [hours, minutes]
		show.value = true
	}

	function padStart(n) {
		return n.toString().padStart(2, 0)
	}
	// 类型列表
	const formattedDate1 = (timestamp) => {
		const date = new Date(timestamp)
		const year = date.getFullYear()
		const month = padStart(date.getMonth() + 1)
		const day = padStart(date.getDate())
		return `${year}-${month}-${day}`
	}

	function remove1(id) {
		uni.showModal({
			title: '提示', // 标题（可选）
			content: '确认删除该录入信息', // 内容（可选）
			confirmText: '确定', // 确认按钮文字（可选，默认“确定”）
			success: (res) => {
				if (res.confirm) {
					// 执行确定后的逻辑
					remove(id)
				}
			},
			fail: (err) => {}
		});


	}
	async function remove(id) {
		const res = await $api.xcdel({
			id
		})
		if (res.code == 1) {
			init()
		}
	}

	function colorfun(num) {
		if (num == 1) {
			return '#00b42a'
		} else if (num == 2) {
			return '#FF9900 '
		} else {
			return '#F53F3F'
		}
	}

	function zhuanhuabool(arr, item) {
		var ind = arr.findIndex(ite => ite == item)
		if (ind == -1) {
			return false
		} else {
			return true
		}
	}

	async function xz(typestr, item) {
		if (!getToken()) {
			denglu.value.DengLu()
			return
		}
		if (!userobj.value) {
			uni.showModal({
				title: '提示', // 标题（可选）
				content: '请先补全用户资料', // 内容（可选）
				confirmText: '确定', // 确认按钮文字（可选，默认“确定”）
				success: (res) => {
					if (res.confirm) {
						// 执行确定后的逻辑
						uni.navigateTo({
							url: '/sub_index/index/bianjigerenziliao'
						})
					}
				},
				fail: (err) => {
					console.error('弹窗调用失败', err);
				}
			});

			return
		}

		if (!item) {
			zzarr.value['disease_date'][typestr] = []
		} else {
			var ind = zzarr.value['disease_date'][typestr].findIndex(ite => ite == item)
			if (ind == -1) {
				zzarr.value['disease_date'][typestr].push(item)
			} else {
				zzarr.value['disease_date'][typestr].splice(ind, 1)
			}
		}
		const res = await $api.xcAddSymptom({
			symptom_lh: zzarr.value['disease_date']['symptom_lh'].join(),
			symptom_jz: zzarr.value['disease_date']['symptom_jz'].join(),
			symptom_fz: zzarr.value['disease_date']['symptom_fz'].join(),
			date: formattedDate.value
		})
		if (res.code == 1) {
			init()
		} else {
			uni.showToast({
				title: res.msg,
				icon: 'none'
			})
		}
	}
	async function init() {
		const res1 = await $api.xcDateList(dateobj)
		if (res1.code == 1) {
			var arr = []
			for (var i in res1.data) {
				var obj = {
					date: res1.data[i],
					value: 1
				}
				arr.push(obj)
			}
			dots.value = arr
			console.log(dots.value, 'dots.valuedots.valuedots.value');
		}
		const res = await $api.xcLogList({
			date: formattedDate.value
		})
		if (res.code == 1) {
			zzarr.value = res.data
		}
		userinfoinit()
	}
	async function userinfoinit() {
		const res = await $api.userinfo()
		if (res.code == 1) {
			userobj.value = res.data
		}
	}

	function getDaysInMonth(year, month) {
		// 注意：month参数是0-11（0表示一月，11表示十二月）
		var dayy = new Date(year, month + 1, 0).getDate();
		if (dayy < 10) {
			return '0' + dayy
		} else {
			return dayy
		}
	}

	function qiehuan(e) {
		console.log(e, 'eeeeeeeeeeeeeeee');
		var riqi = e + ''
		var arr = riqi.split('-')
		dateobj['start_date'] = `${arr[0]}-${arr[1]}-01`
		dateobj['end_date'] = `${arr[0]}-${arr[1]}-${getDaysInMonth(arr[0],arr[1])}`
	}

	function timestampToHoursMinutes(timestamp) {
		// 将时间戳转换为Date对象
		const date = new Date(timestamp);

		// 获取小时和分钟
		const hours = date.getHours();
		const minutes = date.getMinutes();

		// 格式化为两位数
		const formattedHours = hours.toString().padStart(2, '0');
		const formattedMinutes = minutes.toString().padStart(2, '0');

		return `${formattedHours}:${formattedMinutes}`;
	}
	onMounted(() => {
		statusBarHeight.value = uni.getSystemInfoSync().statusBarHeight
		const {
			top,
			height
		} = wx.getMenuButtonBoundingClientRect();
		barHeight.value = height ? height + (top - statusBarHeight.value) * 2 : 38;
	})
	onPageScroll((e) => {

		if (e.scrollTop > 100) {
			back1.value = '#81D6FF'
		} else {
			back1.value = ''
		}

	})
	async function qued() {
		if (!measure_time.value) {
			measure_time.value =
				`${years.value[hours]>=10?years.value[hours]:'0'+years.value[hours]}:${months.value[minutes]>10?months.value[minutes]:'0'+months.value[minutes]}`
		}
		formData['measure_time'] = `${formattedDate.value} ${measure_time.value}`
		for (var i in formData) {
			if (!formData[i]) {
				uni.showToast({
					title: '请补全信息后提交',
					icon: 'none'
				})
				return
			}
		}
		const res = await $api.xcadd(formData)
		if (res.code == 1) {
			formData.measure_time = ''
			formData.pef = ''
			formData.fvc = ''
			formData.fev1 = ''
			measure_time.value = ''
			init()
			show.value = false
		} else {
			uni.showToast({
				title: res.msg,
				icon: 'none'
			})
		}
	}

	function bindChange(e) {
		const val = e.detail.value
		console.log('val：', val);
		measure_time.value =
			`${years.value[val[0]]>10?years.value[val[0]]:'0'+years.value[val[0]]}:${months.value[val[1]]>=10?months.value[val[1]]:'0'+months.value[val[1]]}`

	}

	function change(date) {
		console.log('日期', date);
		formattedDate.value = date
		init()
	}

	function openfun(e) {
		typestr.value = e
		console.log(e, typestr.value, 'eeeeeeeeeeeeeeee');
	}
</script>

<style lang="scss">
	.picker-view {
		width: 388rpx;
		height: 160rpx;
	}

	.item {
		line-height: 80rpx;
		text-align: center;
	}

	::v-deep .u-popup__content {
		background-color: rgba(255, 0, 0, 0) !important;
	}

	.popucenter {
		width: 100%;
		background: linear-gradient(180deg, #D3F1FF 0%, #FFFFFF 14%);
		border-radius: 32rpx 32rpx 0rpx 0rpx;
		overflow: hidden;

		.lurubox {
			width: 686rpx;
			overflow: hidden;
			margin: auto;

			.headerbox {
				width: 100%;
				margin-top: 48rpx;
				display: flex;
				justify-content: space-between;
				align-items: center;

				.qx {
					font-family: PingFang SC, PingFang SC;
					font-weight: 400;
					font-size: 32rpx;
					color: #86909C;
				}

				.tt {
					font-weight: 500;
					font-size: 32rpx;
					color: #1D2129;
				}

				.qd {
					font-family: PingFang SC, PingFang SC;
					font-weight: 400;
					font-size: 32rpx;
					color: #2AB4F5;
				}
			}

			.slbox .line:last-child {
				border: none;
			}

			.slbox {
				width: 100%;
				overflow: hidden;
				margin-top: 40rpx;
				background: #F7F8FA;
				border-radius: 24rpx 24rpx 24rpx 24rpx;
				padding: 8rpx 0;
				margin-bottom: 28rpx;

				.slboxtitle {
					width: 630rpx;
					margin: auto;
					font-weight: bold;
					font-size: 30rpx;
					color: #1D2129;
					margin-top: 28rpx;
				}

				.line {
					width: 630rpx;
					margin: auto;
					height: 88rpx;
					display: flex;
					align-items: center;
					justify-content: space-between;
					font-family: PingFang SC, PingFang SC;
					font-weight: 400;
					font-size: 28rpx;
					color: #1D2129;
					border-bottom: 2rpx solid #E5E6EB;

					input {
						text-align: right;
						height: 88rpx;
					}

					.rightbpxx {
						display: flex;
						align-items: center;
						font-family: PingFang SC, PingFang SC;
						font-weight: 400;
						font-size: 28rpx;
						color: #86909C;

						.arrowright {
							width: 24rpx;
							height: 24rpx;
							margin-left: 12rpx;
						}
					}
				}
			}

			.cxbox {
				width: 100%;
				margin-top: 56rpx;
				overflow: hidden;
				height: 160rpx;
				display: flex;
				justify-content: space-between;
				align-items: center;

				.cxibox {
					width: 168rpx;
					height: 68rpx;
					background: #F7F8FA;
					border-radius: 10rpx 10rpx 10rpx 10rpx;
					text-align: center;
					line-height: 68rpx;
					font-family: PingFang SC, PingFang SC;
					font-weight: 400;
					font-size: 28rpx;
					color: #1D2129;
				}

				.preawbox {
					width: 388rpx;
					overflow: hidden;
				}
			}
		}
	}

	page {
		background: #F7F8FA;
	}

	.biyanguanli {
		width: 100%;
		overflow: hidden;
		position: relative;

		.biyanguanliback {
			width: 100%;
			height: 450rpx;
			background: linear-gradient(180deg, #CAEEFF 71%, rgba(240, 250, 255, 0) 100%);
			border-radius: 0rpx 0rpx 0rpx 0rpx;
			position: absolute;
			z-index: -1;
		}

		.myzhengzhuang {
			width: 686rpx;
			background: #FFFFFF;
			box-shadow: 0rpx 4rpx 10rpx 0rpx rgba(0, 0, 0, 0.03);
			border-radius: 24rpx 24rpx 24rpx 24rpx;
			overflow: hidden;
			margin: auto;
			margin-top: 24rpx;

			.centerbox {
				width: 630rpx;
				margin: auto;
				margin-top: 28rpx;
				overflow: hidden;

				.zhzhuanggex {
					width: 100%;
					font-family: PingFang SC, PingFang SC;
					font-weight: 400;
					font-size: 24rpx;
					color: #86909C;
					overflow: hidden;

					.text {
						font-weight: 400;
						font-size: 24rpx;
						color: #86909C;
						margin-top: 28rpx;
					}

					.zhengzhuangboxss {
						width: 100%;
						margin-top: 28rpx;
						display: flex;
						flex-wrap: wrap;
						align-items: center;

						.bbo {
							height: 46rpx;
							background: #F2F3F5;
							border-radius: 4rpx 4rpx 4rpx 4rpx;
							line-height: 46rpx;
							font-family: PingFang SC, PingFang SC;
							font-weight: 400;
							font-size: 24rpx;
							padding: 0 16rpx;
							color: #86909C;
							margin-bottom: 20rpx;
							margin-right: 28rpx;
						}

						.bbo1 {
							height: 46rpx;
							background: #EAF8FF;
							border-radius: 4rpx 4rpx 4rpx 4rpx;
							line-height: 46rpx;
							font-family: PingFang SC, PingFang SC;
							font-weight: 400;
							font-size: 24rpx;
							padding: 0 16rpx;
							color: #2AB4F5;
							margin-bottom: 20rpx;
							margin-right: 28rpx;
						}
					}
				}


				.titleline {
					width: 100%;
					display: flex;
					align-items: center;
					font-family: PingFang SC, PingFang SC;
					font-weight: bold;
					font-size: 32rpx;
					color: #1D2129;

					.xbq {
						width: 34rpx;
						height: 20rpx;
						margin-right: 14rpx;
					}
				}
			}
		}

		.myrecord {
			width: 686rpx;
			overflow: hidden;
			margin: auto;
			margin-top: 24rpx;
			background: #FFFFFF;
			box-shadow: 0rpx 4rpx 10rpx 0rpx rgba(0, 0, 0, 0.03);
			border-radius: 24rpx 24rpx 24rpx 24rpx;

			.centerbox {
				width: 630rpx;
				margin: auto;
				margin-top: 28rpx;
				overflow: hidden;

				.titleline {
					width: 100%;
					display: flex;
					align-items: center;
					font-family: PingFang SC, PingFang SC;
					font-weight: bold;
					font-size: 32rpx;
					color: #1D2129;

					.xbq {
						width: 34rpx;
						height: 20rpx;
						margin-right: 14rpx;
					}
				}

				.sdlrbox {
					width: 630rpx;
					height: 92rpx;
					background: #F7F8FA;
					border-radius: 16rpx 16rpx 16rpx 16rpx;
					text-align: center;
					line-height: 92rpx;
					font-family: PingFang SC, PingFang SC;
					font-weight: 500;
					font-size: 32rpx;
					color: #2AB4F5;
					margin-top: 36rpx;
					margin-bottom: 28rpx;
					display: flex;
					justify-content: center;
					align-items: center;

					image {
						width: 36rpx;
						height: 36rpx;
						margin-right: 12rpx;
					}
				}

				.luruboxss {
					width: 100%;
					overflow: hidden;

					.msgnone {
						width: 447.77rpx;
						margin: auto;
						margin-top: 64rpx;
						overflow: hidden;

						image {
							width: 100%;
							height: 270.91rpx;
						}

						.text {
							font-family: PingFang SC, PingFang SC;
							font-weight: 400;
							font-size: 26rpx;
							color: #86909C;
							margin-top: 44rpx;
							text-align: center;
							margin-bottom: 46rpx;
						}
					}

					.kzlh {
						width: 630rpx;
						margin-top: 32rpx;
						overflow: hidden;
						border-top: 2rpx solid #F2F3F5;

						.lvtt {
							font-family: PingFang SC, PingFang SC;
							font-weight: 400;
							font-size: 26rpx;
							color: #00B42A;
							margin-top: 18rpx;
							margin-bottom: 32rpx;
						}

						.lhtext {
							width: 100%;
							display: flex;
							align-items: center;
							font-family: PingFang SC, PingFang SC;
							font-weight: bold;
							font-size: 28rpx;
							color: #00B42A;
							margin-top: 28rpx;

							.dh {
								width: 32rpx;
								height: 32rpx;
								margin-right: 12rpx;
							}
						}
					}

					.numboxss {
						width: 630rpx;
						overflow: hidden;

						.centerneirong {
							width: 614rpx;
							margin: auto;
							display: flex;
							justify-content: space-between;
							align-items: center;

							.lheht {
								display: flex;
								flex-direction: column;
								align-items: center;
							}

							.shuzhibox {
								// width: 118rpx;
								display: flex;
								flex-direction: column;
								align-items: center;

								.szbox {
									font-size: 24rpx;
									color: #4E5969;
									margin-top: 20rpx;
								}

								.num {
									font-family: PingFang SC, PingFang SC;
									font-weight: bold;
									font-size: 32rpx;
									color: #2AB4F5;
								}
							}
						}
					}

					.luruboxss1 {
						width: 630rpx;
						height: 140rpx;
						background: #EEF9FF;
						border-radius: 16rpx 16rpx 16rpx 16rpx;
						margin-bottom: 28rpx;
						overflow: hidden;
						position: relative;

						.shanchuicon {
							width: 32rpx;
							height: 32rpx;
							position: absolute;
							right: 28rpx;
							top: 20rpx;
						}

						.xuhao {
							width: 62rpx;
							height: 40rpx;
							background: #2AB4F5;
							border-radius: 0rpx 20rpx 20rpx 0rpx;
							text-align: center;
							line-height: 40rpx;
							font-size: 32rpx;
							color: #FFFFFF;
							position: absolute;
							left: 0%;
							top: 20rpx;
						}

						.textts {
							width: 500rpx;
							margin-left: 72rpx;
							overflow: hidden;
							margin-top: 24rpx;

							.t1 {
								font-family: PingFang SC, PingFang SC;
								font-weight: 400;
								font-size: 26rpx;
								color: #4E5969;
							}

							.linet {
								width: 100%;
								display: flex;
								align-items: center;
								justify-content: space-between;
								margin-top: 24rpx;
							}
						}
					}
				}
			}
		}

		.rili {
			width: 686rpx;
			overflow: hidden;
			margin: auto;
			position: relative;
			margin-top: 32rpx;

			.riliback {
				width: 100%;
				height: 678rpx;
				position: absolute;
				// box-shadow: 0rpx 4rpx 10rpx 0rpx rgba(0, 0, 0, 0.03);
			}
		}
	}
</style>